-- GENERATED SPELL FOR [Hydromancer Thespia] --


function spell0_17797(pUnit, Event) --@Lightning Cloud,n/a--
pUnit:FullCastSpellOnTarget(25033,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17797', 14000, 1)
end

function Sorts_17797(pUnit, Event)
local choix_sorts_17797 = math.random(0, 0)
if choix_sorts_17797 == 0 then
pUnit:RegisterEvent('spell0_17797', 1, 1)
end
end

function mob17797_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17797', math.random(1500, 3000), 1)
end

function mob17797_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17797_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17797_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17797, 1, 'mob17797_Action')
RegisterUnitEvent(17797, 2, 'mob17797_Leave')
RegisterUnitEvent(17797, 3, 'mob17797_Kill')
RegisterUnitEvent(17797, 4, 'mob17797_Die')
